﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="SetJh.aspx.cs" Inherits="Enterprise.UI.Web.Modules.CaiWuBu.SetJh" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="../../Styles/css/gridview.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPH" runat="server">
    <div class="vDaohangtiaoHolder module">
        <div class="vDaohangtiao">
            <ul>
                <li class="first">
                    <a href="/index.aspx" title="首页">首页</a>
                </li>
                <li><a href="Index.aspx">财务信息</a>
                </li>
                <li class="last">数据维护
                </li>
            </ul>
        </div>
    </div>
    <Ent:HeadMenuWeb ID="HeadMenu1" runat="server">
    </Ent:HeadMenuWeb>
    <div id="contents">
        <div style="padding-left: 5px;">
            年度：<asp:DropDownList ID="ddl_nf" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_nf_SelectedIndexChanged">
            </asp:DropDownList>
            单位：<asp:DropDownList ID="ddl_dw" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_dw_SelectedIndexChanged">
                <asp:ListItem>SZK</asp:ListItem>
                <asp:ListItem>PPC</asp:ListItem>
                <asp:ListItem>SPC</asp:ListItem>
            </asp:DropDownList>
        </div>
        <div style="padding: 5px;">
            <div style="font-size: 14px; font-weight: bold; padding: 10px; text-align: center;">
                Оценка работы дочерних предприятий за <%=year %> год / 子公司<%=year %>年内部考核评分表
            </div>
            <div style="text-align: right; padding-right: 120px;">Название предприятия /公司名称：<%=dw %></div>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ZBID"
                Width="100%">
                <Columns>
                    <asp:TemplateField HeaderText="指标类别/Категория показателей" ItemStyle-HorizontalAlign="Left"
                        ItemStyle-Width="160">
                        <ItemTemplate>
                            <asp:Literal ID="literal1" runat="server" Text='<%#Enterprise.Service.Caiwubu.CwTypeService.GetTypeName((int)Eval("ZBTYPEID")) %>'></asp:Literal>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="指标名称/Оцениваемые показатели" ItemStyle-HorizontalAlign="Left">
                        <ItemTemplate>
                            <%#Eval("ZBCODE") %> <%#Eval("ZBNAME") %>/<%#Eval("ZBNAMERU") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="单位/Ед.изм">
                        <ItemTemplate>
                            <%#Eval("ZBUNIT") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="年度计划">
                        <ItemTemplate>
                            <asp:TextBox ID="t1" runat="server" Text='<%#Enterprise.Service.Caiwubu.CwZbkhService.GetZbkhValue((int)Eval("ZBID"),year,0,dw) %>'
                                CssClass="easyui-numberbox"
                                precision="2" Columns="8"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>

            </asp:GridView>
            <div style="text-align: right; padding-right: 60px; padding-top: 15px;">
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="保存" CssClass="button2" />
            </div>
        </div>
    </div>
</asp:Content>
